package com.atguigu.mall.search.test;

import org.springframework.stereotype.Service;

/**
 * @author lirl
 * @date 2021/2/14 12:49
 */
@Service
public class Car {

    private Bus bus;

    public Car(Bus bus) {
        this.bus = bus;
    }


    public void CarDriver() {
        System.out.println("car>>");
        bus.driver();
    }
}
